<?php

define('G_BIN_CHECK_INCLUDE', 1);
include 'common.inc.php';

print_r($_SERVER);

if(empty($_GET['__client_time']) || intval($_GET['__client_time']) != $_GET['__client_time'])
{
	die('error');
}

$__reference = array();

if(!empty($_GET['__reference']))
{
	$__reference = explode(',', $_GET['__reference']);
}

$differ = $_SERVER['REQUEST_TIME'] - $_GET['__client_time'];

var_dump($differ);





